package com.stark.wechat.dao;

import java.util.List;
import java.util.Map;

import com.stark.wechat.domain.Template;

public interface TemplateMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Template record);

    int insertSelective(Template record);

    Template selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Template record);

    int updateByPrimaryKey(Template record);
    
    Template selectByName(String name);
    
    List<Template> selectByParams(Map<String, Object> params);
}